package io.mft.web.adapter.api;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

public interface ApiHandler {
	@RequestMapping
	@ResponseBody
	public ResponseEntity<Object> handle(@RequestParam(required = false) Map<String, Object> param, HttpServletRequest request);
}
